{% extends "../base.html" %}

{% block head %}
<title>修改登录密码 - {{current_user["nick_name"]}}</title>
<style>
.wrapper{width:960px;}
</style>
{% end %}

{% block content %}
<h1 style="margin-left:0px;border-bottom:1px dashed #dedede;padding:5px;" class="mb10">修改登录密码</h1>
<div id="main-content">
<div style="padding-left:50px;">
    <form name="lzform" method="post">

    <div class="item">
    <span class="m">当前密码：</span><br>
    <input name="old_password" type="password" size="20" maxlength="20" class="text">
    </div>

    <div class="item">
    <span class="m">新密码(字母，符号或数字，至少6字符)：</span><br>
    <input id="password" type="password" name="form_password"  size="20" maxlength="20" value="" autocomplete="off" class="text">
    <span class="item-error" style="display:none;">字母，符号或数字，至少6字符</span>
    </div>

    <div class="item">
    <span class="m">确认新密码：</span><br>
    <input name="form_password2" type="password" size="20" maxlength="20" value="" class="text">
    </div>
{% raw  xsrf_form_html() %}
    <br/><input class="butt" type="submit" value="确认修改密码"/>
    </form>
    </div>
      
		


	</div>
	<div id="main-side">
		
    <h2>如何使密码更安全？</h2>
<ol>
  <li>使用标点符号、数字和大小写字母的组合作为密码。</li>
  <li>密码中勿包含个人信息（如姓名、生日等）。</li>
  <li>不使用和其他网站相同的密码。</li>
  <li>定期修改密码。</li>
</ol>
	</div>
</div>
{% end %}